﻿using System;
using System.IO;
using ImageLib.Data.Database;

namespace ImageLib.Data.Extension
{
    public static class ImageExtensions
    {
        public static string GetFullPath(this Image image, string dirPath)
        {
            return Path.Combine(dirPath, String.Format("{0}{1}", image.Name, image.Extension));
        }
    }
}
